package com.decent.ejfadmin.report.service;

import com.decent.ejfadmin.report.response.DouLeFaceValueTotal;
import com.decent.ejfadmin.report.response.DouLeProductTypeTotal;
import com.decent.ejfadmin.report.response.DouLeProvinceTotal;

import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * 给易服务统计的接口
 *
 * @author weicx
 * @date 2019/03/12
 */
public interface CollectCardApiStockReportService {
    /**
     * 收卡卡密库存统计
     *
     * @return 总数
     */
    List<DouLeProductTypeTotal> collectCardStockReport();


    /**
     * 收卡卡密库存面值省份统计
     *
     * @param productType 运营商
     * @return
     */
    List<DouLeProvinceTotal> collectCardStockPricePage(Integer productType) throws UnsupportedEncodingException;


    /**
     * 收卡卡密库存折扣省份统计
     *
     * @param productType 运营商
     * @param province    省份
     * @param faceValue   面值
     * @return
     */
    List<DouLeFaceValueTotal> collectCardPriceReport(Integer productType, String province, Integer faceValue) throws UnsupportedEncodingException;
}
